
#include <array>
#include <cassert>
#include <iostream>
using namespace std;

int chose(int i) { return i == 2 ? 2 : (i == 3 ? 3 : i); }

int main() {

  array<int, 3> i_arr;
  cout << sizeof(i_arr) << endl;
  array<double, 3> d_arr;
  cout << sizeof(d_arr) << endl;
  array<int, 3> aarr[2]{0, 1, 2, 3};
  cout << *(&aarr[0][0] + 2) << endl;

  cout << chose(2) << chose(3) << chose(4) << endl;

  int chose = 2;
  cout << chose << endl;

  cout << sizeof(array<double, 3>) << std::endl;
  return 0;
}